<script src="script/my_lightbox.js" language="javascript"></script>
<script language="javascript"> 
closeimg='<{$config.weburl}>/image/default/icon_close.gif';
weburl='<{$config.weburl}>';
function change()
{
	var el= document.getElementsByTagName('input');     
	var len = el.length;     
	for(var i=0; i<len; i++)     
	{         
		if((el[i].type=="checkbox")&&(el[i].checked==false))        
		{ 
			el[i].checked=true; 
			el[i].value="2";
		}    
	} 
}
</script>
<div class="admin_right_top"><{$lang.shop_setting}></div>
<form action="" method="post" enctype="multipart/form-data">
<table width='100%' border="0" cellpadding="7" cellspacing="1" bgcolor="#DDDDDD" class="admin_table">
<tr>
<td bgcolor="#EAEFF3"><{$lang.menu_t}></td>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr> 
		<td bgcolor="#FFFFFF" style="font-weight:normal"><{$lang.is_show}></td>
		<td bgcolor="#FFFFFF" style="font-weight:normal"><{$lang.order_s}></td>
		<td bgcolor="#FFFFFF" style="font-weight:normal"><{$lang.titles}></td>
	</tr>
	<{foreach item=list key=num  from=$shopconfig.menu}>
	 <tr> 
	   <td width='50' bgcolor="#FFFFFF"><input name="menu_show[]" type="checkbox"  value="1" <{if $list.menu_show=='1'}>checked<{/if}>></td>
       <td width='20' bgcolor="#FFFFFF">
	   <{if $have_set}>
	   <input name="menu_order[]" type="text" value="<{$list.menu_order}>"  size="5" maxlength="3" >
	   <{else}>
	   <input name="menu_order[]" type="text" value="<{$num}>"  size="5" maxlength="3" >
	   <{/if}>
	   </td>
       <td width='*%' bgcolor="#FFFFFF"><input name="menu_name[]" type="text" value="<{$list.menu_name}>"  size="20" maxlength="100" >
	    <input name="menu_link[]" type="hidden" value="<{$list.menu_link}>">
	    <input name="module[]" type="hidden" value="<{$list.module}>">
	   </td>
       </tr>
	<{/foreach}>
</table>
</td>
</tr>
<tr>
<td bgcolor="#EAEFF3"><{$lang.home_page}></td>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
    <td bgcolor="#FFFFFF"><input type="checkbox" name="home_intro_show" value="1" <{if $shopconfig.home_intro_show=='1'}>checked<{/if}>> </td>
    <td bgcolor="#FFFFFF"><input name="home_intro_name" type="text"  size="20" maxlength="100" value="<{$shopconfig.home_intro_name}>">
    </td>
    </tr>
		<tr>
    <td bgcolor="#FFFFFF"><input type="checkbox" name="home_recpro_show"  value="1" <{if $shopconfig.home_recpro_show=='1'}>checked<{/if}>> </td>
    <td bgcolor="#FFFFFF"><input name="home_recpro_name" type="text"   size="20" maxlength="100" value="<{$shopconfig.home_recpro_name}>">
    <{$lang.sums}>
	<input name="home_recpro_nums" type="text"   size="5" maxlength="5" value="<{$shopconfig.home_recpro_nums}>">
	</td>
    </tr>
		<tr>

    <td bgcolor="#FFFFFF"><input type="checkbox" name="home_newoffer_show"  value="1" <{if $shopconfig.home_newoffer_show=='1'}>checked<{/if}>> </td>
    <td bgcolor="#FFFFFF"><input name="home_newoffer_name" type="text"   size="20" maxlength="100" value="<{$shopconfig.home_newoffer_name}>">
    <{$lang.sums}>
	<input name="home_newoffer_nums" type="text"   size="5" maxlength="5" value="<{$shopconfig.home_newoffer_nums}>"></td>
    </tr>
		<tr>
    <td bgcolor="#FFFFFF"><input type="checkbox" name="home_news_show"  value="1" <{if $shopconfig.home_news_show=='1'}>checked<{/if}>> </td>
    <td bgcolor="#FFFFFF"><input name="home_news_name" type="text"  size="20" maxlength="100" value="<{$shopconfig.home_news_name}>">
    <{$lang.sums}>
	<input name="home_news_nums" type="text"   size="5" maxlength="5" value="<{$shopconfig.home_news_nums}>"></td>
    </tr>
		<tr>
    <td bgcolor="#FFFFFF"><input type="checkbox" name="home_contact_show" value="1" <{if $shopconfig.home_contact_show=='1'}>checked<{/if}>> </td>
    <td bgcolor="#FFFFFF"><input name="home_contact_name" type="text"   size="20" maxlength="100" value="<{$shopconfig.home_contact_name}>">
    </td>
    </tr>
	</table>
	</td>
	</tr>
<tr>
    <td bgcolor="#EAEFF3"><{$lang.prolisttype}></td>
    <td bgcolor="#FFFFFF">
     <input type="radio" name="shop_pro_list" id="radio" value="1" <{if $shopconfig.shop_pro_list=='1'}>checked<{/if}>/>
<{$lang.row_t}>
<input type="radio" name="shop_pro_list" id="radio2" value="2" <{if $shopconfig.shop_pro_list=='2'}>checked<{/if}>/>
<{$lang.col_t}></td>
 </tr>
 
 <tr>
    <td bgcolor="#EAEFF3"><{$lang.styleimage}></td>
    <td bgcolor="#FFFFFF" >
		<input name="styleimg" type="text" id="styleimg" value="<{$shopconfig.styleimg}>" size="60">
		[<a href="javascript:uploadfile('Style images','styleimg',300,300)"><{$lang.upload}></a>] 
		[<a href="javascript:preview('styleimg');"><{$lang.preview}></a>]
		[<a href="javascript:delet_pic('styleimg');"><{$lang.delete}></a>]
	</td>
</tr>
 
<tr>
	<td bgcolor="#EAEFF3"><{$lang.head_img}></td>
	<td bgcolor="#FFFFFF" >
		<input name="headimage" type="text" id="headimage" value="<{$shopconfig.headimage}>" size="60">
		[<a href="javascript:uploadfile('Style images','headimage',700,90)"><{$lang.upload}></a>] 
		[<a href="javascript:preview('headimage');"><{$lang.preview}></a>]
		[<a href="javascript:delet_pic('headimage');"><{$lang.delete}></a>]
	</td>
</tr>


<tr>
    <td bgcolor="#EAEFF3"><{$lang.advscon}></td>
    <td bgcolor="#FFFFFF" style="line-height:25px;">
		<input name="flash[]" type="text" id="flash1" value="<{$shopconfig.flash.0}>" size="60">
		[<a href="javascript:uploadfile('Style images','flash1',980,250)"><{$lang.upload}></a>] 
		[<a href="javascript:preview('flash1');"><{$lang.preview}></a>]
		[<a href="javascript:delet_pic('flash1');"><{$lang.delete}></a>]<br />
		
		<input name="flash[]" type="text" id="flash2" value="<{$shopconfig.flash.1}>" size="60">
		[<a href="javascript:uploadfile('Style images','flash2',980,250)"><{$lang.upload}></a>] 
		[<a href="javascript:preview('flash2');"><{$lang.preview}></a>]
		[<a href="javascript:delet_pic('flash2');"><{$lang.delete}></a>]<br />
		
		<input name="flash[]" type="text" id="flash3" value="<{$shopconfig.flash.2}>" size="60">
		[<a href="javascript:uploadfile('Style images','flash3',980,250)"><{$lang.upload}></a>] 
		[<a href="javascript:preview('flash3');"><{$lang.preview}></a>]
		[<a onclick="javascript:delet_pic('flash3');" href="#"><{$lang.delete}></a>]<br />
		
		<input name="flash[]" type="text" id="flash4" value="<{$shopconfig.flash.3}>" size="60">
		[<a href="javascript:uploadfile('Style images','flash4',980,250)"><{$lang.upload}></a>] 
		[<a href="javascript:preview('flash4');"><{$lang.preview}></a>]
		[<a href="javascript:delet_pic('flash4');"><{$lang.delete}></a>]<br />
		
		<input name="flash[]" type="text" id="flash5" value="<{$shopconfig.flash.4}>" size="60">
		[<a href="javascript:uploadfile('Style images','flash5',980,250)"><{$lang.upload}></a>] 
		[<a href="javascript:preview('flash5');"><{$lang.preview}></a>]
		[<a href="javascript:delet_pic('flash5');"><{$lang.delete}></a>]
	</td>
 </tr>

<tr>
<td bgcolor="#EAEFF3"><{$lang.com_title}> </td>
<td bgcolor="#FFFFFF">
  <input name="hometitle" type="text" id="hometitle" size="70" maxlength="100" value="<{$shopconfig.hometitle}>">
<{$lang.no_title}></td>
</tr>
<tr>
<td bgcolor="#EAEFF3"><{$lang.kw}></td>
<td bgcolor="#FFFFFF">
  <input name="homekeyword" type="text" id="homekeyword" size="70" maxlength="100" value="<{$shopconfig.homekeyword}>">
<{$lang.no_title}></td>
    </tr>
  <tr>

    <td bgcolor="#EAEFF3"><{$lang.sitedes}></td>
    <td bgcolor="#FFFFFF">
      <input name="homedes" type="text" id="homedes" size="70" maxlength="100" value="<{$shopconfig.homedes}>">
     <{$lang.no_title}> </td>
    </tr>
  <tr> 
	<td colspan="4" align="center" bgcolor="#EAEFF3"><input type="submit" name="sconfig" id="sconfig" value="<{$lang.isrue}>" onclick="change();"></td>
	</tr>
</table>
</form>